export interface ResponseData {
    code: number | string,
    msg: string,
    result: number
}

// 分页器接口 参数 ts数据类型
export interface agritainmentFormData {
    currentPage: number,
    keyword?: string,
    pageSize: number,
    status?: number,
    type?: number | string
}
// 一条农家乐数据的ts
export interface Agritainment {
    id?: string | number,
    img: string,
    title: string,
    content: string,
    deleted?: number,
    createdBy?: string,
    createdDt?: string,
    updatedBy?: string,
    updatedDt?: string
}
// 所有农家乐信息的ts数据类型
export type AllAgritainment = Agritainment[]

// 分页接口返回数据 ts数据类型
export interface AgritainmentResponseData extends ResponseData {
    "data": {
        pageSize: number,
        currentPage: number,
        totalPage: number,
        totals: number,
        list: AllAgritainment[]
    }
}